package com.hzeport.bgs22emduty.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class BaseDeptInfoTreeDTO {
    private static final long serialVersionUID = 1L;


    private String id;
    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="PARENTID")
    @JsonProperty(value = "parentid")
    private String parentid;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="DEPT_FULL_NAME")
    @JsonProperty(value = "deptFullName")
    private String deptFullName;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="DEPT_NAME")
    @JsonProperty(value = "deptName")
    private String deptName;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="GLOBAL_SORT")
    @JsonProperty(value = "globalSort")
    private String globalSort;

    @JsonProperty(value = "sCount")
    @TableField(exist = false)
    private Long sCount=0L;

    @ApiModelProperty(value="部门不加入排序1是0否")
    @TableField(value ="NOT_USE_KJ_DEPT")
    @JsonProperty(value = "notUseKJDept")
    private String notUseKJDept;


    @ApiModelProperty(value="关区GUID，源自H4A")
    @TableField(value ="CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;


    @ApiModelProperty(value="关区中文名称")
    @TableField(value ="CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    private List<BaseDeptInfoTreeDTO> children;
}
